package priv.wangy.micro.common.config.file;

import lombok.Data;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangy
 * @since 2023-11-10
 */
@Data
@Configuration
@EnableConfigurationProperties(FileProperties.class)
public class FileConfig {

    private final FileProperties fileProperties;

    public FileConfig(FileProperties fileProperties) {
        this.fileProperties = fileProperties;
    }
}
